<template>
    <div style="background: #f7f7f7;">
        <div class="content" v-html="content"></div>
    </div>
</template>

<script>
    import homeApi from "@/api/tap-water/home"

    export default {
        name: "list02",
        data() {
            return {
                content: ''
            }
        },
        created() {
            this.getListByType();
        },
        methods: {
            getListByType() {
                homeApi.getListByType(this.$route.query.type).then(response => {
                    this.content = response.data.data[0].content;
                });
            }
        }
    }
</script>

<style scoped></style>
